find the derivative of x